package day05;

import org.w3c.dom.ls.LSOutput;

/**
 * @author yangwenqi
 * @decs TODO
 * @date 2025/4/22
 */
public class WPSTest {
    public void choose(WPSType type){
        switch(type){
            case PPT:
                System.out.println("PPT开档");
                break;
            case WORD:
                System.out.println("WORD开档");
                break;
            case EXCEL:
                System.out.println("EXCEL开档");
                break;
            case XMIND:
                System.out.println("XMIND开档");
                break;
            default:
                System.out.println("有误");
        }
    }
    public static void main(String[] args) {
        WPSType wpsType=WPSType.PPT;
        WPSTest wps = new WPSTest();
        wps.choose(wpsType);
    }

}
enum WPSType{
    PPT,WORD,EXCEL,XMIND;
}
